﻿<my:FloatingWindow xmlns:my="clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:SilverlightDebateView_Classes="clr-namespace:SilverlightDebateView.Classes" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" mc:Ignorable="d"
   x:Class="SilverlightDebateView.Views.WindowNewStatement"
           Width="400" Height="160" 
           Title="WindowNewStatement">
    <Grid x:Name="LayoutRoot" Margin="2">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="0.033*"/>
    		<ColumnDefinition Width="0.934*"/>
    		<ColumnDefinition Width="0.033*"/>
    	</Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
        	<RowDefinition />
        	<RowDefinition Height="37"/>
        </Grid.RowDefinitions>

    	<Grid.DataContext>
    		<SilverlightDebateView_Classes:NewStatementVM/>
    	</Grid.DataContext>
   	

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,9,5,5" Grid.Row="1" Grid.Column="1" d:LayoutOverrides="GridBox" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,9,84,5" Grid.Row="1" Grid.Column="1" d:LayoutOverrides="GridBox" />
        <TextBox Margin="0,47,0,0" TextWrapping="Wrap" Text="{Binding ObjStatement.Title, Mode=TwoWay}" Grid.Column="1" d:LayoutOverrides="VerticalAlignment"/>
        <TextBlock Grid.Column="1" HorizontalAlignment="Left" Margin="8,31,0,0" TextWrapping="Wrap" Text="Your Statement" Width="144" Height="16" VerticalAlignment="Top"/>
        <TextBlock Grid.Column="1" Margin="246,8,42,0" TextWrapping="Wrap" Text="{Binding Category.Title}" VerticalAlignment="Top"/>
    </Grid>
</my:FloatingWindow>